﻿<Window x:Class="QuickWPFMonthCalendar.viewDiary"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="viewDiary" Height="420" Width="456" WindowStyle="ThreeDBorderWindow" WindowState="Maximized" WindowStartupLocation="CenterScreen" Icon="/MyDiary;component/Diary-Photo-Sunflower.ico">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="200"/>
        </Grid.RowDefinitions>

        <Grid Grid.Row="0" x:Name="gdContainer" Background="#F7000000">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="40" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="40" />
            </Grid.ColumnDefinitions>
            
            <Grid Grid.Column="0">
           
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
             
                </Grid.RowDefinitions>


                <Button Padding="-4" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"  Click="btnPre_Click"   x:Name="btnPre" Grid.Row="0"  Background="#00000000" HorizontalAlignment="Right" HorizontalContentAlignment="Stretch"  Opacity="1" VerticalAlignment="Center">
                    <Image   Grid.Row="0" Source="/MyDiary;component/Images/back.png" Stretch="Uniform" HorizontalAlignment="Left" />
                </Button>
            </Grid>
            <TextBlock x:Name="bltitle" Grid.Column="1" Foreground="White" FontSize="32"></TextBlock>
            <Image Grid.Column="1" x:Name="imgShow" DataContext="{Binding}"></Image>

            <Grid Grid.Column="2">
                <Button Padding="-4" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"  Click="btnNex_Click"   x:Name="btnNex" Grid.Row="0"  Background="#00000000" HorizontalAlignment="Right" HorizontalContentAlignment="Stretch"  Opacity="1" VerticalAlignment="Center">
                    <Image   Grid.Row="0" Source="/MyDiary;component/Images/next.png" Stretch="Uniform" HorizontalAlignment="Left" />
                </Button>
               
            </Grid>
        </Grid>
        <Grid Grid.Row="1" Background="#53000000">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="100" />
            </Grid.ColumnDefinitions>
            <Grid  Grid.Column="0" Background="#00000000">
            </Grid>
            <TextBox Grid.Column="1" Width="auto" x:Name="txtBody" Grid.Row="1" HorizontalAlignment="Stretch"  VerticalAlignment="Stretch"   VerticalContentAlignment="Stretch" Margin="0,0,0,0" AcceptsReturn="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Visible" Background="Black" Foreground="White">

            </TextBox>

            <Grid  Grid.Column="2">
            </Grid>
        </Grid>
    </Grid>
</Window>
